/*
 * Copyright (c) zhg2yqq.com Corp.
 * All Rights Reserved.
 */
package com.zhg2yqq.wheels.common.response;

import java.io.Serializable;

/**
 * @author zhg2yqq, 2022年11月28日
 * @version zhg2yqq v1.0
 */
public class BaseResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    protected String code = BaseResponseCode.SUCCESS.getCode();
    protected String message = BaseResponseCode.SUCCESS.getDescription();

    public BaseResponse() {
        super();
    }

    public BaseResponse(String code, String message) {
        super();
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    protected void setMessage(String message) {
        this.message = message;
    }
}
